package divinity.events
{
	import flash.events.Event;
	
	public class WorldEvent extends Event
	{
		public static const CYCLE:String="World cycle";
		public static const PLAYER_DEAD:String="Player has been killed";
		public static const ALL_DEAD:String="All enemies has been killed";
		public static const OBJECT_DESTROYED:String="An object has been destroyed";
		public static const CATACLYSAM:String="World's end";
		public static const LET_THERE_BE_LIGHT:String="And there be light";
		public static const INTRO_COMPLETE:String="So it begins";
		public static const UPDATE:String="World updated";
		
		//
		private var _elapsed:int;
		
		public function WorldEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		/*
		*
		*
		*/
		public function set elapsed(elapsedTime:int):void
		{
			_elapsed=elapsedTime;
		}
		public function get elapsed():int
		{
			return _elapsed;
		}
	}
}